package com.yuxi.Dao;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.yuxi.Entity.InformationPortPower;

@Repository
public interface InformationPortPowerDao {
	/**
	 * 通过角色id获取分口权限
	 * @param 	RoleId
	 * @return  
	 * */
	public List<InformationPortPower> getPortPowerByRoleId(Integer roleId );
	/**
	 * 给角色添加分口权限
	 * @param 	
	 * @return  
	 * */
	public InformationPortPower addPortPower(InformationPortPower portPower  );
	/**
	 * 修改角色分口权限
	 * @param 	
	 * @return  
	 * */
	public void modifyPortPower(InformationPortPower portPower  );
	/**
	 * 删除角色分口权限
	 * @param 	
	 * @return  
	 * */
	public void deletePortPower(InformationPortPower portPower  );
	/**
	 * 删除角色分口权限
	 * @param 	
	 * @return  
	 * */	
	public void deletePortPowerByRoleId(Integer roleId);
	
	
}
